import 'package:flutter/material.dart';

class MovieDetail extends StatelessWidget {
  
  MovieDetail({Key key, @required this.name, @required this.img}):super(key: key);
  final String name;
  final String img;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("$name"),),
      body: Center(
        child: Image(
          image: NetworkImage("$img"),
        ),
      ),
    );
  }
}

